<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $web_title?></title>
<link href="<?php echo $www_site_url?>/public/style/base.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $www_site_url?>/public/js/yav2.0/yav.js"></script>
<script src="<?php echo $www_site_url?>/public/js/yav2.0/yav-config-<?php echo $selected_lang?>.js"></script>
<script src="<?php echo $www_site_url?>/public/js/md5.js"></script>
<script src="<?php echo $www_site_url?>/public/js/ajax.js"></script>

</head>
<body>
<div id="wrap">  <br />
    <div class="admincontent" style="float:left;">

      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><div class="table2TitleBg">
            <div class="table2TitleBg2">
    		  	<div class="table2Title"><div class="table2TitleLeft"><span><?php echo lang("past_assignment")."-$username"?></span></div></div>
            </div>
           </div></td>
        </tr>

        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td class="table2LeftBorder"></td>
              <td><table width="100%" border="0" cellpadding="0" cellspacing="1" class="historyMission">
                <tr>
                  <td class="title"><?php echo lang("finished_date")?></td>
                  <td class="title"><?php echo lang("brands")?></td>

                  <td class="title"><?php echo lang("stores")?></td>
                  <td class="title"><?php echo lang("assignment")?></td>
                  <td class="title"><?php echo lang("income")?>（<?php echo lang("income_unit")?>）</td>
                </tr>
                <?php
              if(isset($myassignment)&& is_array($myassignment)){
							foreach ($myassignment as $k=>$v){?>
                <tr>
                  <td><?php echo $v['a_fdate']?></td>
                  <td><?php echo splitx($v['c_title']);?></td>

                  <td><?php echo splitx($v['cs_name']);?></td>
                  <td><a href="/admin.php/report/preview/a_id/<?php echo $v['a_id']?>/re_id/<?php echo $v['re_id']?>"><?php echo splitx($v['a_title']);?></a></td>
                  <td><?php echo $v['a_cost']?></td>
                </tr>
             <?php }}?>
              </table></td>
              <td class="table2RightBorder"></td>
            </tr>
            <tr>
              <td class="table2BottomLeft"></td>

              <td class="table2Bottom"></td>
              <td class="table2BottomRight"></td>
            </tr>
          </table></td>
        </tr>
      </table>
      </div>
</div>
</div>
<body>
<html>